]> dgit.raspbian.org Git - gnome-shell.git/commit
ci: Use `meson introspect` to generate artifact path
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 23 May 2024 22:07:11 +0000 (00:07 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 24 May 2024 23:12:28 +0000 (01:12 +0200)
commit0cf3d513c7834c8981709643f5d6e765175ce686
tree98ccb9c809615305c821d7f82354523d1760ee74
parent83446972e6dd3a08e3544289026d7c243475eb5a
ci: Use `meson introspect` to generate artifact path

We currently assume that the `CI_COMMIT_TAG` variable matches the
version component of the generated dist tarball.

That is usually correct, but sometimes errors happen and a wrong
tag is pushed, and the real release uses something like "46.0-real".

Account for that by building the artifact path from `meson introspect`
and exporting it as environment variable.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3340>
(cherry picked from commit 27445a1c98a463bcb826edae9850972c3616b90c)
.gitlab-ci.yml
.gitlab-ci/export-artifact-path [new file with mode: 0755]